<template>
  <div class="conenterOrder">
    <div class="header">
      <img
        @click="$router.back(-1)"
        :src="require('@/assets/imgs/icons/arr-l.png')"
        alt
        class="head-icon head-search"
      >
      <h2 class="head-zaowu">确定订单</h2>
      <div class="head-icons"></div>
    </div>
    <div class="banner">
      <div class="goods-site">
        <p class="goods-site-txt">添加收货地址</p>
        <div class="goods-site-icon"></div>
        <img :src="require('@/assets/imgs/icons/arr-l.png')" alt class="goods-site-icon">
      </div>
      <ul class="goods-lists">
        <li class="goods-item">
          <div class="goods-img-box fl">
            <img :src="require('@/assets/imgs/icons/arr-l.png')" alt class="goods-img">
          </div>
          <div class="goods-cont fl clearfix">
            <p class="goods-cont-txt goods-name">asasasas</p>
            <p class="goods-cont-txt goods-cname">asasas</p>
            <p class="goods-cont-txt goods-monay">¥555</p>
            <p class="goods-cont-txt goods-count">x2</p>
          </div>
        </li>
      </ul>
      <div class="goods-ticket">
        <p class="ticket-txt">优惠券</p>
        <img :src="require('@/assets/imgs/icons/arr-l.png')" alt class="ticket-icon">
      </div>
      <div class="user-remark">
        <span class="remark-txt">备注</span>
        <input type="text" class="rremark-inp" placeholder="选填">
      </div>
      <div class="goods-monay-box">
        <div class="goods-all-monay">
          <span class="goods-all-monay-txt">商品价格</span>
          <span class="goods-all-monay-num">111</span>
        </div>
        <div class="goods-all-monay">
          <span class="goods-all-monay-txt">运费</span>
          <span class="goods-all-monay-num">111</span>
        </div>
      </div>
      <div class="total-monay">
        <span class="total-monay-txt total-monay-active">实付金额</span>
        <span class="total monay-num total-monay-active">555</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "conenterOrder.vue",

  data() {
    return {};
  },
  computed: {
    buyList() {
      return this.$store.getters["order/buyList"];
      // return this.$store.state.cart.cartGoods;
    }
  },

  methods: {}
};
</script>

<style lang='scss' scoped>
@import "@/assets/style/commin.scss";
.conenterOrder {
  text-align: left;
  padding: 0 $basPadding;
  .header {
    text-align: center;
    position: relative;
    background-color: #f9f9f9;
    height: 50px;
    line-height: 50px;
    .head-search {
      position: absolute;
      left: 15px;
      top: 50%;
      margin-top: -10px;
      width: 20px;
    }
    .head-zaowu {
      font-size: 18px;
      color: #010e0d;
    }
  }
  .banner {
    .goods-site {
      position: relative;
      margin-bottom: 25px;
      .goods-site-txt {
        margin-top: 6px;
        color: #010e0d;
        font-size: 14px;
        line-height: 22px;
      }
      .goods-site-icon {
        width: 20px;
        position: absolute;
        top: 0;
        right: 0;
      }
    }
    .goods-lists {
      .goods-item {
        width: 334px;
        height: 114px;
        background-color: #f9f9f9;
        position: relative;
        margin: 0 auto;
        .goods-img-box {
          .goods-img {
            width: 78px;
            height: 76px;
            background-color: pink;
            margin-top: 19px;
            margin-left: 24.5px;
          }
        }
        .goods-cont {
          margin-left: 12px;
          margin-top: 24.5px;
          margin-bottom: 21.5px;
          line-height: 22px;
          .goods-cont-txt {
            color: #494949;
            font-size: 14px;
            line-height: 22px;
          }
          .goods-monay {
            color: #1c4b47;
            line-height: 22px;
          }
          .goods-count {
            position: absolute;
            top: 73px;
            right: 22.5px;
          }
        }
      }
    }
    .goods-ticket {
      position: relative;
      padding-top: 22.5px;
      padding-bottom: 17.5px;
      border-bottom: 1px solid pink;
      .ticket-txt {
        color: #494949;
        font-size: 16px;
      }
      .ticket-icon {
        width: 20px;
        position: absolute;
        top: 17.5px;
        right: 0;
      }
    }
    .user-remark {
      margin: 13px 0;
      .remark-txt {
        color: #494949;
        font-size: 16px;
      }
      .rremark-inp {
        border: none;
      }
    }
    .goods-monay-box {
      width: 100%;
      padding: 18.5px 0;
      border-bottom: 1px solid pink;

      .goods-all-monay {
        display: flex;
        justify-content: space-between;
        .goods-all-monay-txt {
          color: #494949;
          font-size: 16px;
          line-height: 22px;
        }
        .goods-all-monay-num {
          color: #494949;
          font-size: 16px;
          line-height: 22px;
        }
      }
    }
    .total-monay {
      text-align: right;
      margin-top: 13.5px;
      margin-bottom: 60.5px;
      .total-monay-active {
        color: #000;
        font-size: 16px;
      }
      .monay-num {
        color: #1c4b47;
        margin-left: 17px;
      }
    }
  }
}
</style>
